{template "content","header"}
 <div id="info"> &gt;
  <a href="" class='navigation_style'>首页</a> &gt;
  <a href="" class='navigation_style'>{$title}</a>
</div>
<?php
function leftmenu($rootid){
    ?>
    {pc:content action="category" catid="$rootid" siteid="$siteid" order="listorder ASC"}
      {loop $data $r}
      <?php
      if(count($data) == 0){
      return;
      }
      $c = $r['arrchildid'];
      $c = explode(',',$c);
      if(count($c) != 1){
      ?>
      <li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
      <a href="{$r[url]}">{$r[catname]}</a>
      <ul  class="left_submenu">
      <?php menu($r['catid']);?>
      </ul>
      </li>
      <?php
      }else if(count($c) == 1){
      ?>
      <li><a href="{$r[url]}">{$r[catname]}</a></li>
      <?php
      }
      ?>
      {/loop}
      {/pc}
      <?php 
      }
?>
{pc:get sql="select * from phpcms_category where catid in($arrchild_arr[0])" return="data"}
        <?php $parentid = intval($data[0]['parentid']);?>
{/pc}
<li style="border-radius: 4px 4px 0 0;width: 190px;list-style:none;
border-bottom: 1px solid white;
background-color: #356CB6;
height: 40px;
line-height: 40px;
text-indent: 2em;font-size:20px;color:#fff;
color: white;
font-weight: bold;
font-size: 20px;">
{$CATEGORYS[$parentid]['catname']}</li>
<div class="left_menu">
 <ul><li>
    
<!-- <li ><a href="index.php">首页</a></li> -->
    <?php leftmenu($parentid);?>
</ul>  
</div> 
     
<div id="con_r">
  <div class="content"><!--正文-->	  
    <h1>{$title}</h1>
    <?php if(!empty($title)){?><hr/><?php }?>
	   {$content}
  </div>
 </div>
{template "content","footer"}